//快照表

var express = require('express');
var router = express.Router();
const snapshotMdoel = require("../src/models/snapshotMdoel");
/* GET home page. */
router.get('/getsnapshot', function(req, res, next) {
  let a=snapshotMdoel.find().exec()
  a.then(
    (data)=>{
     res.send(data);
   })
});
module.exports = router;